package com.sc.VenusQueryBeta.contract.hotel.tabs;

import com.sc.VenusQueryBeta.contract.home.tabs.BaseTabsContract;
import com.sc.VenusQueryBeta.model.bean.home.HotelRestaurantBean;

import io.reactivex.Observable;

/**
 * 酒店餐厅契约
 */

public interface HotelDiningContract {
    abstract class HotelDiningPresenter extends BaseTabsContract.BaseTabsPresenter<IHotelDiningModel,IHotelDiningView,Object>{
        /**
         * 獲取酒店餐廳數據
         */
        public abstract void getHotelRestaurantData(int vipClubId);
    }
    interface IHotelDiningModel extends BaseTabsContract.IBaseTabsModel{
        /**
         * 獲取code類型
         * @param vipClubId
         * @return
         */
        Observable<HotelRestaurantBean> getHotelRestaurant(int vipClubId);
    }
    interface IHotelDiningView extends BaseTabsContract.IBaseTabsView<Object>{
        /**
         * 显示banner数据
         * @param  hotelRestaurantBean'
         */
        void showHotelRestaurantDataSuccess(HotelRestaurantBean hotelRestaurantBean);

        /**
         * 显示网络错误
         */
        void showNetworkError();
    }
}
